//
//  BaseViewController.m
//  pet
//
//  Created by wangdu on 13-1-9.
//  Copyright (c) 2013年 wangdu. All rights reserved.
//

#import "BaseViewController.h"
#import "Coordinate.h"
@interface BaseViewController ()

@end

@implementation BaseViewController

@synthesize naviBarView = _naviBarView;

-(void)dealloc{

    safeRelease(_naviBarView);
    
    [super dealloc];
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    
    _naviBarView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, pMainFrame.size.width, pNaviBar_Height)];
    _naviBarView.backgroundColor = [UIColor yellowColor];
    [self.view addSubview:_naviBarView];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
